package com.erp.service.customer;

import com.erp.domain.ErpCustomer;

import java.util.List;


public interface ErpCustomerService {
    List<ErpCustomer> selectCustomerList(ErpCustomer erpCustomer);

    int addCustomer(ErpCustomer erpCustomer);

    ErpCustomer selectCustomerById(Long customerId);

    int updateCustomer(ErpCustomer erpCustomer);

    int enableCustomer(Long customerId);
    int disableCustomer(Long customerId);

    boolean checkCustomerRelation(Long customerId);
}
